package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 链家二手房交易数据
 * </p>
 *
 * @author xxd
 * @since 2020-05-08
 */
@TableName("lianjia_secondary_info")
public class SecondaryInfo extends Model<SecondaryInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 标题
     */
    @TableField("title")
    private String title;
    /**
     * 成交价（万元）
     */
    @TableField("new_price")
    private String newPrice;
    /**
     * 挂牌价（万元）
     */
    @TableField("old_price")
    private String oldPrice;
    /**
     * 成交周期
     */
    private String cycle;
    /**
     * 修改次数
     */
    @TableField("modify_price_time")
    private String modifyPriceTime;
    /**
     * 看房次数
     */
    @TableField("look_time")
    private String lookTime;
    /**
     * 关注人数
     */
    @TableField("focus_time")
    private String focusTime;
    /**
     * 每平米价格（万元）
     */
    @TableField("per_price")
    private String perPrice;
    /**
     * 页面地址
     */
    private String url;
    /**
     * 时间
     */
    private Date time;
    /**
     * 删除标志 0：未删除 1：删除
     */
    private String del;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getNewPrice() {
        return newPrice;
    }

    public void setNewPrice(String newPrice) {
        this.newPrice = newPrice;
    }

    public String getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(String oldPrice) {
        this.oldPrice = oldPrice;
    }

    public String getCycle() {
        return cycle;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public String getModifyPriceTime() {
        return modifyPriceTime;
    }

    public void setModifyPriceTime(String modifyPriceTime) {
        this.modifyPriceTime = modifyPriceTime;
    }

    public String getLookTime() {
        return lookTime;
    }

    public void setLookTime(String lookTime) {
        this.lookTime = lookTime;
    }

    public String getFocusTime() {
        return focusTime;
    }

    public void setFocusTime(String focusTime) {
        this.focusTime = focusTime;
    }

    public String getPerPrice() {
        return perPrice;
    }

    public void setPerPrice(String perPrice) {
        this.perPrice = perPrice;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getDel() {
        return del;
    }

    public void setDel(String del) {
        this.del = del;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SecondaryInfo{" +
        "id=" + id +
        ", title=" + title +
        ", newPrice=" + newPrice +
        ", oldPrice=" + oldPrice +
        ", cycle=" + cycle +
        ", modifyPriceTime=" + modifyPriceTime +
        ", lookTime=" + lookTime +
        ", focusTime=" + focusTime +
        ", perPrice=" + perPrice +
        ", url=" + url +
        ", time=" + time +
        ", del=" + del +
        "}";
    }
}
